package com.lottery.www.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author leo
 * @since 2023-06-08 11:14:48
 */
@Getter
@Setter
@TableName("user_account")
@ApiModel(value = "UserAccount对象", description = "")
public class UserAccount implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "accid", type = IdType.AUTO)
    private Integer accid;

    @TableField("username")
    private String username;

    @TableField("balance")
    private Float balance;

    @TableField("pay_count")
    private Integer payCount;

    @TableField("win_pay_count")
    private Integer winPayCount;

    @TableField("win_no_pay_count")
    private Integer winNoPayCount;

      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
